<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<base href="<%=basePath%>"/>
	<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
	<title>获取页面提交的参数</title>
	<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div class="formbody">

		<div class="formtitle">
			<span>获取页面提交的参数</span>
		</div>
		<form action="CheckboxRadioServlet" method="post">
			<ul class="forminfo">
				<li>
					<input type="checkbox" name="shicai" value="猪肉" checked="checked" />猪肉</input>
				</li>
				<li>
					<input type="checkbox" name="shicai" value="白菜"/>白菜</input>
				</li>
				<li>
					<input type="checkbox" name="shicai" value="粉条">粉条</input>
				</li>
				<li>
					<input type="checkbox" name="anonymouscheckbox">匿名checkbox</input>
				</li>
				<li>
					<input type="radio" name="penrengfangshi" value="炖" checked="checked">炖</input>
					<input type="radio" name="penrengfangshi" value="蒸">蒸</input>
					<input type="radio" name="penrengfangshi" value="炒">炒</input>
				</li>
				<li>
					<input type="radio" name="anonymousradio">匿名radio</input>
				</li>
				<li style="margin-right:auto;">
					<input style="align-items: flex-end;" type="submit" name="save" value="保存" class="btn" >
				</li>
			</ul>
		</form>
	</div>
</body>
</html>
